import axios from './axios';

export const fetchRacks = async () => {
  return axios.post('/threeDimensions/getHangGroupInfo');
  const data = {
    code: 0,
    data: [
      {
        mockNo: '312312dd12',
        id: 0,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 1,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 2,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 3,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 4,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 5,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 6,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 7,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
      {
        mockNo: '312312dd12',
        id: 8,
        foNo: 'fqfw',
        fpartNo: 'dqwd',
        fpartVer: 'd21d2',
        partName: '挂具名称',
        sectionArea: 10,
        ligWeModAdd: '/models/box.glb',
        projectionImage: '',
        length: 1,
        wide: 2,
        high: 3,
        partNum: 20,
        hangerType: 0,
      },
    ],
  };
  return data;
};
